package com.yxp.core.dao;

import java.util.List;

import com.yxp.core.entity.User;

public interface UserDao {

	public boolean login(String name,String pwd);//登录
	public boolean register(User user);//注册
	public List<User> getUserAll();//返回用户信息集合
	public boolean delete(int id) ;//根据id删除用户
	public boolean update(int id,String name, String pwd,String sex, String home,String info) ;//更新用户信息
	
}
